# symbol = [width, position ... ]
# Height = 5

A = [4, [0, 4], [0, 3], [0, 2], [0, 1], [1, 0], [2, 0], [3, 1], [3, 2], [3, 3], [3, 4], [1, 2], [2, 2]]
B = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 0], [2, 0], [3, 1], [2, 2], [1, 2], [3, 3], [2, 4], [1, 4]]
C = [4, [3, 0], [2, 0], [1, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 4]]
D = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 0], [2, 0], [3, 1], [3, 2], [3, 3], [2, 4], [1, 4]]
E = [4, [0, 0], [1, 0], [2, 0], [3, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 4], [2, 4], [3, 4], [1, 2], [2, 2],
     [3, 2]]
F = [4, [0, 0], [1, 0], [2, 0], [3, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 2], [2, 2]]
G = [4, [3, 0], [2, 0], [1, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 4], [3, 3], [3, 2], [2, 2]]
H = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 2], [2, 2], [3, 0], [3, 1], [3, 2], [3, 3], [3, 4]]
I = [3, [0, 0], [1, 0], [2, 0], [1, 1], [1, 2], [1, 3], [0, 4], [1, 4], [2, 4]]
J = [4, [0, 0], [1, 0], [2, 0], [3, 0], [2, 1], [2, 2], [2, 3], [1, 4], [0, 3]]
K = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [3, 0], [2, 1], [1, 2], [2, 3], [3, 4]]
L = [3, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 4], [2, 4]]
M = [5, [0, 4], [0, 3], [0, 2], [0, 1], [0, 0], [1, 1], [2, 2], [3, 1], [4, 0], [4, 1], [4, 2], [4, 3], [4, 4]]
N = [5, [0, 4], [0, 3], [0, 2], [0, 1], [0, 0], [1, 1], [2, 2], [3, 3], [4, 4], [4, 3], [4, 2], [4, 1], [4, 0]]
O = [4, [1, 0], [2, 0], [3, 1], [3, 2], [3, 3], [2, 4], [1, 4], [0, 3], [0, 2], [0, 1]]
P = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 0], [2, 0], [3, 1], [2, 2], [1, 2]]
Q = [5, [2, 0], [1, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 3], [3, 2], [3, 1], [2, 3], [4, 4]]
R = [4, [0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [1, 0], [2, 0], [3, 1], [2, 2], [1, 2], [2, 3], [3, 4]]
S = [4, [3, 0], [2, 0], [1, 0], [0, 1], [1, 2], [2, 2], [3, 3], [2, 4], [1, 4], [0, 4]]
T = [5, [0, 0], [1, 0], [2, 0], [3, 0], [4, 0], [2, 1], [2, 2], [2, 3], [2, 4]]
U = [4, [0, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 3], [3, 2], [3, 1], [3, 0]]
V = [5, [0, 0], [0, 1], [0, 2], [1, 3], [2, 4], [3, 3], [4, 2], [4, 1], [4, 0]]
W = [5, [0, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 3], [2, 2], [3, 4], [4, 3], [4, 2], [4, 1], [4, 0]]
X = [5, [0, 0], [1, 1], [2, 2], [3, 3], [4, 4], [4, 0], [3, 1], [1, 3], [0, 4]]
Y = [5, [0, 0], [1, 1], [4, 0], [3, 1], [2, 2], [2, 3], [2, 4]]
Z = [4, [0, 0], [1, 0], [2, 0], [3, 0], [3, 1], [2, 2], [1, 2], [0, 3], [0, 4], [1, 4], [2, 4], [3, 4]]

num0 = [4, [2, 0], [1, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 3], [3, 2], [3, 1], [2, 2]]
num1 = [3, [0, 1], [1, 0], [1, 1], [1, 2], [1, 3], [0, 4], [1, 4], [2, 4]]
num2 = [4, [0, 0], [1, 0], [2, 0], [3, 1], [2, 2], [1, 2], [0, 3], [0, 4], [1, 4], [2, 4], [3, 4]]
num3 = [4, [0, 0], [1, 0], [2, 0], [3, 1], [1, 2], [2, 2], [3, 3], [2, 4], [1, 4], [0, 4]]
num4 = [3, [0, 0], [0, 1], [0, 2], [1, 2], [2, 0], [2, 1], [2, 2], [2, 3], [2, 4]]
num5 = [4, [0, 0], [1, 0], [2, 0], [3, 0], [0, 1], [0, 2], [1, 2], [2, 2], [3, 3], [2, 4], [1, 4], [0, 4]]
num6 = [4, [2, 0], [1, 0], [0, 1], [0, 2], [0, 3], [1, 4], [2, 4], [3, 3], [2, 2], [1, 2]]
num7 = [4, [0, 0], [1, 0], [2, 0], [3, 0], [3, 1], [2, 2], [2, 3], [1, 4]]
num8 = [4, [1, 0], [2, 0], [3, 1], [1, 2], [0, 3], [1, 4], [2, 4], [3, 3], [2, 2], [0, 1]]
num9 = [4, [2, 2], [1, 2], [0, 2], [0, 1], [1, 0], [2, 0], [3, 1], [3, 2], [3, 3], [2, 4], [1, 4]]

symbol_minus = [2, [0, 2], [1, 2]]  # -
symbol_dot = [2, [1, 4]]  # .
symbol_slash = [3, [2, 0], [1, 1], [1, 2], [1, 3], [0, 4]]  # /

bracket_left = [2, [1, 0], [0, 1], [0, 2], [0, 3], [1, 4]]  # (
bracket_right = [2, [0, 0], [1, 1], [1, 2], [1, 3], [0, 4]]  # )

colon = [2, [1, 1], [1, 3]]  # :

char_dict = {'A': A, 'B': B, 'C': C, 'D': D, 'E': E, 'F': F, 'G': G,
             'H': H, 'I': I, 'J': J, 'K': K, 'L': L, 'M': M, 'N': N,
             'O': O, 'P': P, 'Q': Q, 'R': R, 'S': S, 'T': T, 'U': U,
             'V': V, 'W': W, 'X': X, 'Y': Y, 'Z': Z,
             ' ': [1],
             '0': num0, '1': num1, '2': num2, '3': num3, '4': num4,
             '5': num5, '6': num6, '7': num7, '8': num8, '9': num9,
             '-': symbol_minus, '.': symbol_dot, '/': symbol_slash,
             '(': bracket_left, ')': bracket_right, ':': colon}
